#!/usr/bin/env bash

yum -y install epel-release
yum -y install python-pip
pip install supervisor==4.0.3

#yum -y install postfix
#postfix start
#yum -y install git
#git clone https://gitee.com/rymmx_admin/smtp2postfix.git
#postfix start

# ucloud 106.75.226.211
#pip-3 install supervisor



# 相关辅助工具
yum -y install telnet htop

# 定时任务
cat<<EOF>/var/spool/cron/root
# 每天4:04执行一次，清空 postqueue -p
4 4 * * * /usr/sbin/postsuper -d ALL
EOF